package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.entity.CmsProductCategory;
import com.project.pojo.model.CategoryModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CmsProductCategoryMapper extends BaseMapper<CmsProductCategory> {

    /**
     * 查询商品分类列表数据
     * @param categoryModel
     * @return
     */
    List<CmsProductCategory> getCategory(@Param("obj") CategoryModel categoryModel);

}